package com.battle.service.repository.in;

import com.battle.pojo.entity.TrainingAchievement;
import nirvana.core.repository.IRepository;
import java.util.Map;
import java.util.List;

    import com.battle.pojo.dto.trainingAchievement.SelectTrainingAchievementDto;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
public interface TrainingAchievementRepository extends IRepository< TrainingAchievement > {


    /**
    * 搜索培训成绩
    * @param dto
    * @return
    */
    Page< TrainingAchievement > selectTrainingAchievement(SelectTrainingAchievementDto dto);

    /**
    * 获取Map
    * @param ids
    * @return
    */
    Map<Long, TrainingAchievement> getMap(List<Long> ids);

}